import {storeBindingsBehavior} from "mobx-miniprogram-bindings";
import base from "@src/store/base";

Component({
  behaviors: [storeBindingsBehavior],
  storeBindings: [{
    store: base,
    fields: ['themeColor', 'themeTitleColor'],
  }],
  options: {
    addGlobalClass: true
  },
  properties: {
    refundRule: Object,
  },
  data: {
    dialogShow: false
  },
  lifetimes: {

  },
  methods: {
    handleStop() {
      return true;
    },
    open() {
      this.setData({dialogShow: true})
    },
    handleClose() {
      this.setData({dialogShow: false})
    }
  }
});
